package com.seehn.web;

import com.seehn.web.mypackage.MyDemo;
import com.seehn.web.mypackage.MyDemo1;

public class Debug {
    private Debug() {

    }

    private   static Debug t = null;
    long s= 1L;
    private static final String pp="ms";
    public static Debug getInstance() {
        if (t == null) {
            synchronized (Debug.class) {
                if (t == null) {
                    t = new Debug();
                }
            }
        }
        return t;
    }

    ;

    public static MyDemo1 convert(MyDemo m) {
        MyDemo1 myDemo1 = new MyDemo1();
        myDemo1.setAge1(m.getAge1());
        myDemo1.setAge2(m.getAge2());
        myDemo1.setAge3(m.getAge3());
        return myDemo1;

    }

    public static void main(String[] args) {

        MyDemo m = new MyDemo();

  String dasta = "{\n" +
          "  " +
          "\"od\": \"222eee\"\n" +
          "}";

 //


    }
}
